package com.web.dao;

import com.web.entity.Student;

import java.util.List;

public interface StudentDAO {

    List<Student> selectAllStudents();

    Student selectStudentById(int id);

    void insertStudent(Student student);

    void updateStudentById(Student student);

    void deleteStudentById(int id);

    int selectStudentsCount();

    List<Student> selectStudentsPage(int start,int len);
}
